package cc.taofoo.Design.Adapter;

import cc.taofoo.utils.XMLUtils;

public class Client {
    public static void main(String[] args) {
        /** config.xml
         *    <adapter>cc.taofoo.Design.Adapter.HybridDogBirdAdapter</adapter>
         */
        Robot robot = (Robot) XMLUtils.getBeanFromXml("adapter");
        robot.cry();
        robot.move();
    }
}
